package com.fts.fts.fitness_tracking_system.utils;

import java.util.Random;

public class VerificationCodeUtil {

    // 生成4位数字验证码
    public static String generateCode() {
        Random random = new Random();
        return String.format("%04d", random.nextInt(9999));
    }
}
